package com.hsnn.medstgmini.trading.pur.model.form;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 *@category 订单信息bean
 *@author 邱磊
 *@date 2015年7月10日 上午10:02:46
 */
public class PurOrderInfoForm {
	private List<PurOrderInfoForm> orderDetailInfoList;
	private String delDetailId;//配送明细id
	private String approveCode;//批号
	private String invoiceAmount;//发票金额
	private Date invoiceDatetime;//开票日期
	private String credential;//有效期
	private String orderId;// 订单明细id
	private String orderCode;// 订单编号
	private String hospCode;// 采购医疗机构编码
	private String hospName;//采购医疗机构名称
	private String userId;// 采购用户
	private String userName;//采购用户姓名
	private String goodsCode;// 商品号
	private String proPrice;// 采购价
	private String proCount;// 采购数量
	private String buyPrice;//采购金额
	private String delCount;//配送数量
	private String delPrice;//配送金额
	private String totalProPrice;//采购总金额
	private String delCompId;// 配送企业id
	private String delCompName;//配送企业名称
	private String returnCount;//累计退货数量
	private String joinPlanTime;// 加入计划时间
	private String joinPlanUser;// 加入计划人
	private String submitDatetime;// 提交时间
	private String submitUser;// 提交人
	private String recpAddrId;// 送货地址ID
	private String orderBegTime;// 订单开始时间
	private String orderEndTime;// 订单截止时间
	private String remarks;// 备注
	private String orderPackId;// 订单包号
	private String orderStatus;// 订单状态1提交2确认3无法配送
	private String orderConfEndTime;// 订单确认截止时间
	private String orderDelEndTime;// 订单配送截止时间
	private String goodsNum;//采购商品条目数
	private String drugCode;//药品编码
	private String drugName;//通用名
	private String formName;//剂型
	private String specName;//规格
	private String factor;//转换系数
	private String unit;//单位
	private String materialName;//材质
	private String drugMedicine;//国药准字
	public String getDrugMedicine() {
		return drugMedicine;
	}
	public void setDrugMedicine(String drugMedicine) {
		this.drugMedicine = drugMedicine;
	}
	private String compId;//生产企业ID
	private String compName;//生产企业
	private String projName;//项目名称
	private String recpCount;//到货数量
	private String recpPrice;//到货金额
	private String orderConfirmTime;//企业确认时间
	private String delDatetime;//出库时间
	private String recpDatetime;//收货时间
	private String gradeDatetime;//完成时间
	private String interflowDetail;//物流详情
	private String subStatus;//提交状态
	private String confirmStatus;//企业确认状态
	private String delStatus;//出库状态
	private String recpStatus;//收货状态
	private String joinStatus;//制定计划状态
	private String drugId;//药品ID
	private Integer main;//是否是主帐号 (0：否，1：是)
	private String recpUser;//确认收货人	
	private String storeUser;//入库人姓名
	private String projId;//项目ID
	private String bakDrugFlag;//是否备案药品
	private String isLongtimePlan;//是否长期备案
	private String totalAmount;//到货明细表中到货数量
	private String notRecpNum;//未到货商品条目数
	private String recpNum;//到货商品条目数
	private String delNum;//配送商品条目数
	private String gradeUser;//评价人
	private String gradeScore;//评分
	private String gradeRemark;//评分备注
	private String interflowId;//物流信息
	private String archiveType;//归档原因
	private String archiveDate;//归档人
	private String proPriceLimit;
	private String withOrderId;//随货单号
	
	private Date submitDatetimeStr;//采购时间起始
	private Date submitDatetimeEnd;//采购时间结算
	private Date orderConfirmTimeStr;//确认时间起始
	private Date orderConfirmTimeEnd;//确认时间结束
	private Date delDatetimeStr;//配送时间起始
	private Date delDatetimeEnd;//配送时间结束
	private String submitStartDatetime;//采购日期开始
	private String submitEndDatetime;//采购日期结束
	private String orderStartDatetime;//订单开始时间开始日期
	private String orderEndDatetime;//订单开始时间结束日期
	private String confirmStartDatetime;//订单确认日期开始日期
	private String confirmEndDatetime;//订单确认日期结束日期
	private String outStartDatetime;//出库时间开始日期
	private String outEndDatetime;//出库时间结束日期
	private String recpStartDatetime;//到货时间开始日期
	private String recpEndDatetime;//到货时间结束日期
	private String isRecepted;//是否到货
	private String startDate;//订单开始日期起始
	private String endDate;//订单结束日期结束
	private String recpStartDate;//订单送达日期起始
	private String recpEndDate;//订单送达日期结束
	private String psStartDatetime;//订单配送开始日期
	private String psEndDatetime;//订单配送结束日期
	
	public String getPsStartDatetime() {
		return psStartDatetime;
	}
	public void setPsStartDatetime(String psStartDatetime) {
		this.psStartDatetime = psStartDatetime;
	}
	public String getPsEndDatetime() {
		return psEndDatetime;
	}
	public void setPsEndDatetime(String psEndDatetime) {
		this.psEndDatetime = psEndDatetime;
	}
	public String getIsRecepted() {
		return isRecepted;
	}
	public void setIsRecepted(String isRecepted) {
		this.isRecepted = isRecepted;
	}
	public String getRecpStartDatetime() {
		return recpStartDatetime;
	}
	public void setRecpStartDatetime(String recpStartDatetime) {
		this.recpStartDatetime = recpStartDatetime;
	}
	public String getRecpEndDatetime() {
		return recpEndDatetime;
	}
	public void setRecpEndDatetime(String recpEndDatetime) {
		this.recpEndDatetime = recpEndDatetime;
	}
	public String getWithOrderId() {
		return withOrderId;
	}
	public void setWithOrderId(String withOrderId) {
		this.withOrderId = withOrderId;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public String getRecpStartDate() {
		return recpStartDate;
	}
	public void setRecpStartDate(String recpStartDate) {
		this.recpStartDate = recpStartDate;
	}
	public String getRecpEndDate() {
		return recpEndDate;
	}
	public void setRecpEndDate(String recpEndDate) {
		this.recpEndDate = recpEndDate;
	}
	public String getArchiveType() {
		return archiveType;
	}
	public void setArchiveType(String archiveType) {
		this.archiveType = archiveType;
	}
	public String getArchiveDate() {
		return archiveDate;
	}
	public void setArchiveDate(String archiveDate) {
		this.archiveDate = archiveDate;
	}
	public String getInterflowId() {
		return interflowId;
	}
	public void setInterflowId(String interflowId) {
		this.interflowId = interflowId;
	}
	public String getGradeScore() {
		return gradeScore;
	}
	public void setGradeScore(String gradeScore) {
		this.gradeScore = gradeScore;
	}
	public String getGradeRemark() {
		return gradeRemark;
	}
	public void setGradeRemark(String gradeRemark) {
		this.gradeRemark = gradeRemark;
	}
	public String getGradeUser() {
		return gradeUser;
	}
	public void setGradeUser(String gradeUser) {
		this.gradeUser = gradeUser;
	}
	public String getNotRecpNum() {
		return notRecpNum;
	}
	public void setNotRecpNum(String notRecpNum) {
		this.notRecpNum = notRecpNum;
	}
	public String getRecpNum() {
		return recpNum;
	}
	public void setRecpNum(String recpNum) {
		this.recpNum = recpNum;
	}
	public String getDelNum() {
		return delNum;
	}
	public void setDelNum(String delNum) {
		this.delNum = delNum;
	}
	public String getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getBakDrugFlag() {
		return bakDrugFlag;
	}
	public void setBakDrugFlag(String bakDrugFlag) {
		this.bakDrugFlag = bakDrugFlag;
	}
	public String getIsLongtimePlan() {
		return isLongtimePlan;
	}
	public void setIsLongtimePlan(String isLongtimePlan) {
		this.isLongtimePlan = isLongtimePlan;
	}
	public String getCompId() {
		return compId;
	}
	public void setCompId(String compId) {
		this.compId = compId;
	}
	public String getProjId() {
		return projId;
	}
	public void setProjId(String projId) {
		this.projId = projId;
	}
	public String getJoinStatus() {
		return joinStatus;
	}
	public void setJoinStatus(String joinStatus) {
		this.joinStatus = joinStatus;
	}
	public String getStoreUser() {
		return storeUser;
	}
	public void setStoreUser(String storeUser) {
		this.storeUser = storeUser;
	}
	public String getRecpUser() {
		return recpUser;
	}
	public void setRecpUser(String recpUser) {
		this.recpUser = recpUser;
	}
	public Integer getMain() {
		return main;
	}
	public void setMain(Integer main) {
		this.main = main;
	}
	public String getDrugId() {
		return drugId;
	}
	public void setDrugId(String drugId) {
		this.drugId = drugId;
	}
	public String getSubStatus() {
		return subStatus;
	}
	public void setSubStatus(String subStatus) {
		this.subStatus = subStatus;
	}
	public String getConfirmStatus() {
		return confirmStatus;
	}
	public void setConfirmStatus(String confirmStatus) {
		this.confirmStatus = confirmStatus;
	}
	public String getDelStatus() {
		return delStatus;
	}
	public void setDelStatus(String delStatus) {
		this.delStatus = delStatus;
	}
	public String getRecpStatus() {
		return recpStatus;
	}
	public void setRecpStatus(String recpStatus) {
		this.recpStatus = recpStatus;
	}
	public String getInterflowDetail() {
		return interflowDetail;
	}
	public void setInterflowDetail(String interflowDetail) {
		this.interflowDetail = interflowDetail;
	}
	public String getOrderConfirmTime() {
		return orderConfirmTime;
	}
	public void setOrderConfirmTime(String orderConfirmTime) {
		this.orderConfirmTime = orderConfirmTime;
	}
	public String getDelDatetime() {
		return delDatetime;
	}
	public void setDelDatetime(String delDatetime) {
		this.delDatetime = delDatetime;
	}
	public String getRecpDatetime() {
		return recpDatetime;
	}
	public void setRecpDatetime(String recpDatetime) {
		this.recpDatetime = recpDatetime;
	}
	public String getGradeDatetime() {
		return gradeDatetime;
	}
	public void setGradeDatetime(String gradeDatetime) {
		this.gradeDatetime = gradeDatetime;
	}
	public String getRecpCount() {
		return recpCount;
	}
	public void setRecpCount(String recpCount) {
		this.recpCount = recpCount;
	}
	public String getRecpPrice() {
		return recpPrice;
	}
	public void setRecpPrice(String recpPrice) {
		this.recpPrice = recpPrice;
	}
	public String getProjName() {
		return projName;
	}
	public void setProjName(String projName) {
		this.projName = projName;
	}
	public String getBuyPrice() {
		return buyPrice;
	}
	public String getDelCount() {
		return delCount;
	}
	public void setDelCount(String delCount) {
		this.delCount = delCount;
	}
	public String getDelPrice() {
		return delPrice;
	}
	public void setDelPrice(String delPrice) {
		this.delPrice = delPrice;
	}
	public void setBuyPrice(String buyPrice) {
		this.buyPrice = buyPrice;
	}
	public String getDrugCode() {
		return drugCode;
	}
	public void setDrugCode(String drugCode) {
		this.drugCode = drugCode;
	}
	public String getDrugName() {
		return drugName;
	}
	public void setDrugName(String drugName) {
		this.drugName = drugName;
	}
	public String getFormName() {
		return formName;
	}
	public void setFormName(String formName) {
		this.formName = formName;
	}
	public String getSpecName() {
		return specName;
	}
	public void setSpecName(String specName) {
		this.specName = specName;
	}
	public String getFactor() {
		return factor;
	}
	public void setFactor(String factor) {
		this.factor = factor;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getMaterialName() {
		return materialName;
	}
	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}
	public String getCompName() {
		return compName;
	}
	public void setCompName(String compName) {
		this.compName = compName;
	}
	public String getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(String goodsNum) {
		this.goodsNum = goodsNum;
	}
	public String getTotalProPrice() {
		return totalProPrice;
	}
	public void setTotalProPrice(String totalProPrice) {
		this.totalProPrice = totalProPrice;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getOrderCode() {
		return orderCode;
	}
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	
	public String getHospCode() {
		return hospCode;
	}
	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}
	public String getHospName() {
		return hospName;
	}
	public void setHospName(String hospName) {
		this.hospName = hospName;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getGoodsCode() {
		return goodsCode;
	}
	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}
	public String getProPrice() {
		return proPrice;
	}
	public void setProPrice(String proPrice) {
		this.proPrice = proPrice;
	}
	public String getProCount() {
		return proCount;
	}
	public void setProCount(String proCount) {
		this.proCount = proCount;
	}
	public String getDelCompId() {
		return delCompId;
	}
	public void setDelCompId(String delCompId) {
		this.delCompId = delCompId;
	}
	public String getDelCompName() {
		return delCompName;
	}
	public void setDelCompName(String delCompName) {
		this.delCompName = delCompName;
	}
	public String getJoinPlanTime() {
		return joinPlanTime;
	}
	public void setJoinPlanTime(String joinPlanTime) {
		this.joinPlanTime = joinPlanTime;
	}
	public String getJoinPlanUser() {
		return joinPlanUser;
	}
	public void setJoinPlanUser(String joinPlanUser) {
		this.joinPlanUser = joinPlanUser;
	}
	public String getSubmitDatetime() {
		return submitDatetime;
	}
	public void setSubmitDatetime(String submitDatetime) {
		this.submitDatetime = submitDatetime;
	}
	public String getSubmitUser() {
		return submitUser;
	}
	public void setSubmitUser(String submitUser) {
		this.submitUser = submitUser;
	}
	public String getRecpAddrId() {
		return recpAddrId;
	}
	public void setRecpAddrId(String recpAddrId) {
		this.recpAddrId = recpAddrId;
	}
	public String getOrderBegTime() {
		return orderBegTime;
	}
	public void setOrderBegTime(String orderBegTime) {
		this.orderBegTime = orderBegTime;
	}
	public String getOrderEndTime() {
		return orderEndTime;
	}
	public void setOrderEndTime(String orderEndTime) {
		this.orderEndTime = orderEndTime;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getOrderPackId() {
		return orderPackId;
	}
	public void setOrderPackId(String orderPackId) {
		this.orderPackId = orderPackId;
	}
	public String getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
	public String getOrderConfEndTime() {
		return orderConfEndTime;
	}
	public void setOrderConfEndTime(String orderConfEndTime) {
		this.orderConfEndTime = orderConfEndTime;
	}
	public String getOrderDelEndTime() {
		return orderDelEndTime;
	}
	public void setOrderDelEndTime(String orderDelEndTime) {
		this.orderDelEndTime = orderDelEndTime;
	}
	
	public String getProPriceLimit() {
		return proPriceLimit;
	}
	public void setProPriceLimit(String proPriceLimit) {
		this.proPriceLimit = proPriceLimit;
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getSubmitDatetimeStr() {
		return submitDatetimeStr;
	}
	public void setSubmitDatetimeStr(Date submitDatetimeStr) {
		if(null != submitDatetimeStr){
			try {
				this.submitDatetimeStr = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(new SimpleDateFormat("yyyy-MM-dd").format(submitDatetimeStr) + " 00:00:00");
			} catch (ParseException e) {
				e.printStackTrace();
			}
			}else{
				this.submitDatetimeStr = submitDatetimeStr;
			}
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getSubmitDatetimeEnd() {
		return submitDatetimeEnd;
	}
	public void setSubmitDatetimeEnd(Date submitDatetimeEnd) {
		if(null != submitDatetimeEnd){
			try {
				this.submitDatetimeEnd = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(new SimpleDateFormat("yyyy-MM-dd").format(submitDatetimeEnd) + " 23:59:59");
			} catch (ParseException e) {
				e.printStackTrace();
			}
		}else{
			this.submitDatetimeEnd = submitDatetimeEnd;
		}
		
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getOrderConfirmTimeStr() {
		return orderConfirmTimeStr;
	}
	public void setOrderConfirmTimeStr(Date orderConfirmTimeStr) {
		if(null != orderConfirmTimeStr){
		try {
			this.orderConfirmTimeStr = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(new SimpleDateFormat("yyyy-MM-dd").format(orderConfirmTimeStr) + " 00:00:00");
		} catch (ParseException e) {
			e.printStackTrace();
		}
		}else{
			this.orderConfirmTimeStr = orderConfirmTimeStr;
		}
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getOrderConfirmTimeEnd() {
		return orderConfirmTimeEnd;
	}
	public void setOrderConfirmTimeEnd(Date orderConfirmTimeEnd) {
		if(null != orderConfirmTimeEnd){
			try {
				this.orderConfirmTimeEnd = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(new SimpleDateFormat("yyyy-MM-dd").format(orderConfirmTimeEnd) + " 23:59:59");
			} catch (ParseException e) {
				e.printStackTrace();
			}
			}else{
				this.orderConfirmTimeEnd = orderConfirmTimeEnd;
			}
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getDelDatetimeStr() {
		return delDatetimeStr;
	}
	public void setDelDatetimeStr(Date delDatetimeStr) {
		if(null != delDatetimeStr){
			try {
				this.delDatetimeStr = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(new SimpleDateFormat("yyyy-MM-dd").format(delDatetimeStr) + " 00:00:00");
			} catch (ParseException e) {
				e.printStackTrace();
			}
			}else{
				this.delDatetimeStr = delDatetimeStr;
			}
	}
	@DateTimeFormat(pattern="yyyy-MM-dd")
	public Date getDelDatetimeEnd() {
		return delDatetimeEnd;
	}
	public void setDelDatetimeEnd(Date delDatetimeEnd) {
		if(null != delDatetimeEnd){
			try {
				this.delDatetimeEnd = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(new SimpleDateFormat("yyyy-MM-dd").format(delDatetimeEnd) + " 23:59:59");
			} catch (ParseException e) {
				e.printStackTrace();
			}
			}else{
				this.delDatetimeEnd = delDatetimeEnd;
			}
	}
	public String getSubmitStartDatetime() {
		return submitStartDatetime;
	}
	public void setSubmitStartDatetime(String submitStartDatetime) {
		this.submitStartDatetime = submitStartDatetime;
	}
	public String getSubmitEndDatetime() {
		return submitEndDatetime;
	}
	public void setSubmitEndDatetime(String submitEndDatetime) {
		this.submitEndDatetime = submitEndDatetime;
	}
	public String getOrderStartDatetime() {
		return orderStartDatetime;
	}
	public void setOrderStartDatetime(String orderStartDatetime) {
		this.orderStartDatetime = orderStartDatetime;
	}
	public String getOrderEndDatetime() {
		return orderEndDatetime;
	}
	public void setOrderEndDatetime(String orderEndDatetime) {
		this.orderEndDatetime = orderEndDatetime;
	}
	public String getConfirmStartDatetime() {
		return confirmStartDatetime;
	}
	public void setConfirmStartDatetime(String confirmStartDatetime) {
		this.confirmStartDatetime = confirmStartDatetime;
	}
	public String getConfirmEndDatetime() {
		return confirmEndDatetime;
	}
	public void setConfirmEndDatetime(String confirmEndDatetime) {
		this.confirmEndDatetime = confirmEndDatetime;
	}
	public String getOutStartDatetime() {
		return outStartDatetime;
	}
	public void setOutStartDatetime(String outStartDatetime) {
		this.outStartDatetime = outStartDatetime;
	}
	public String getOutEndDatetime() {
		return outEndDatetime;
	}
	public void setOutEndDatetime(String outEndDatetime) {
		this.outEndDatetime = outEndDatetime;
	}
	public String getDelDetailId() {
		return delDetailId;
	}
	public void setDelDetailId(String delDetailId) {
		this.delDetailId = delDetailId;
	}
	public String getApproveCode() {
		return approveCode;
	}
	public void setApproveCode(String approveCode) {
		this.approveCode = approveCode;
	}
	public String getInvoiceAmount() {
		return invoiceAmount;
	}
	public void setInvoiceAmount(String invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}
	public Date getInvoiceDatetime() {
		return invoiceDatetime;
	}
	public void setInvoiceDatetime(Date invoiceDatetime) {
		this.invoiceDatetime = invoiceDatetime;
	}
	public List<PurOrderInfoForm> getOrderDetailInfoList() {
		return orderDetailInfoList;
	}
	public void setOrderDetailInfoList(List<PurOrderInfoForm> orderDetailInfoList) {
		this.orderDetailInfoList = orderDetailInfoList;
	}
	
	public String getCredential() {
		return credential;
	}
	public void setCredential(String credential) {
		this.credential = credential;
	}
	
	
	public String getReturnCount() {
		return returnCount;
	}
	public void setReturnCount(String returnCount) {
		this.returnCount = returnCount;
	}
	@Override
	public String toString() {
		return "PurOrderInfoForm [orderDetailInfoList=" + orderDetailInfoList
				+ ", delDetailId=" + delDetailId + ", approveCode="
				+ approveCode + ", invoiceAmount=" + invoiceAmount
				+ ", invoiceDatetime=" + invoiceDatetime + ", credential="
				+ credential + ", orderId=" + orderId + ", orderCode="
				+ orderCode + ", hospCode=" + hospCode + ", hospName="
				+ hospName + ", userId=" + userId + ", userName=" + userName
				+ ", goodsCode=" + goodsCode + ", proPrice=" + proPrice
				+ ", proCount=" + proCount + ", buyPrice=" + buyPrice
				+ ", delCount=" + delCount + ", delPrice=" + delPrice
				+ ", totalProPrice=" + totalProPrice + ", delCompId="
				+ delCompId + ", delCompName=" + delCompName + ", returnCount="
				+ returnCount + ", joinPlanTime=" + joinPlanTime
				+ ", joinPlanUser=" + joinPlanUser + ", submitDatetime="
				+ submitDatetime + ", submitUser=" + submitUser
				+ ", recpAddrId=" + recpAddrId + ", orderBegTime="
				+ orderBegTime + ", orderEndTime=" + orderEndTime
				+ ", remarks=" + remarks + ", orderPackId=" + orderPackId
				+ ", orderStatus=" + orderStatus + ", orderConfEndTime="
				+ orderConfEndTime + ", orderDelEndTime=" + orderDelEndTime
				+ ", goodsNum=" + goodsNum + ", drugCode=" + drugCode
				+ ", drugName=" + drugName + ", formName=" + formName
				+ ", specName=" + specName + ", factor=" + factor + ", unit="
				+ unit + ", materialName=" + materialName + ", compId="
				+ compId + ", compName=" + compName + ", projName=" + projName
				+ ", recpCount=" + recpCount + ", recpPrice=" + recpPrice
				+ ", orderConfirmTime=" + orderConfirmTime + ", delDatetime="
				+ delDatetime + ", recpDatetime=" + recpDatetime
				+ ", gradeDatetime=" + gradeDatetime + ", interflowDetail="
				+ interflowDetail + ", subStatus=" + subStatus
				+ ", confirmStatus=" + confirmStatus + ", delStatus="
				+ delStatus + ", recpStatus=" + recpStatus + ", joinStatus="
				+ joinStatus + ", drugId=" + drugId + ", main=" + main
				+ ", recpUser=" + recpUser + ", storeUser=" + storeUser
				+ ", projId=" + projId + ", bakDrugFlag=" + bakDrugFlag
				+ ", isLongtimePlan=" + isLongtimePlan + ", totalAmount="
				+ totalAmount + ", notRecpNum=" + notRecpNum + ", recpNum="
				+ recpNum + ", delNum=" + delNum + ", gradeUser=" + gradeUser
				+ ", gradeScore=" + gradeScore + ", gradeRemark=" + gradeRemark
				+ ", interflowId=" + interflowId + ", archiveType="
				+ archiveType + ", archiveDate=" + archiveDate
				+ ", proPriceLimit=" + proPriceLimit + ", withOrderId="
				+ withOrderId + ", submitDatetimeStr=" + submitDatetimeStr
				+ ", submitDatetimeEnd=" + submitDatetimeEnd
				+ ", orderConfirmTimeStr=" + orderConfirmTimeStr
				+ ", orderConfirmTimeEnd=" + orderConfirmTimeEnd
				+ ", delDatetimeStr=" + delDatetimeStr + ", delDatetimeEnd="
				+ delDatetimeEnd + ", submitStartDatetime="
				+ submitStartDatetime + ", submitEndDatetime="
				+ submitEndDatetime + ", orderStartDatetime="
				+ orderStartDatetime + ", orderEndDatetime=" + orderEndDatetime
				+ ", confirmStartDatetime=" + confirmStartDatetime
				+ ", confirmEndDatetime=" + confirmEndDatetime
				+ ", outStartDatetime=" + outStartDatetime
				+ ", outEndDatetime=" + outEndDatetime + ", recpStartDatetime="
				+ recpStartDatetime + ", recpEndDatetime=" + recpEndDatetime
				+ ", isRecepted=" + isRecepted + ", startDate=" + startDate
				+ ", endDate=" + endDate + ", recpStartDate=" + recpStartDate
				+ ", recpEndDate=" + recpEndDate + ", psStartDatetime="
				+ psStartDatetime + ", psEndDatetime=" + psEndDatetime + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((approveCode == null) ? 0 : approveCode.hashCode());
		result = prime * result
				+ ((archiveDate == null) ? 0 : archiveDate.hashCode());
		result = prime * result
				+ ((archiveType == null) ? 0 : archiveType.hashCode());
		result = prime * result
				+ ((bakDrugFlag == null) ? 0 : bakDrugFlag.hashCode());
		result = prime * result
				+ ((buyPrice == null) ? 0 : buyPrice.hashCode());
		result = prime * result + ((compId == null) ? 0 : compId.hashCode());
		result = prime * result
				+ ((compName == null) ? 0 : compName.hashCode());
		result = prime
				* result
				+ ((confirmEndDatetime == null) ? 0 : confirmEndDatetime
						.hashCode());
		result = prime
				* result
				+ ((confirmStartDatetime == null) ? 0 : confirmStartDatetime
						.hashCode());
		result = prime * result
				+ ((confirmStatus == null) ? 0 : confirmStatus.hashCode());
		result = prime * result
				+ ((credential == null) ? 0 : credential.hashCode());
		result = prime * result
				+ ((delCompId == null) ? 0 : delCompId.hashCode());
		result = prime * result
				+ ((delCompName == null) ? 0 : delCompName.hashCode());
		result = prime * result
				+ ((delCount == null) ? 0 : delCount.hashCode());
		result = prime * result
				+ ((delDatetime == null) ? 0 : delDatetime.hashCode());
		result = prime * result
				+ ((delDatetimeEnd == null) ? 0 : delDatetimeEnd.hashCode());
		result = prime * result
				+ ((delDatetimeStr == null) ? 0 : delDatetimeStr.hashCode());
		result = prime * result
				+ ((delDetailId == null) ? 0 : delDetailId.hashCode());
		result = prime * result + ((delNum == null) ? 0 : delNum.hashCode());
		result = prime * result
				+ ((delPrice == null) ? 0 : delPrice.hashCode());
		result = prime * result
				+ ((delStatus == null) ? 0 : delStatus.hashCode());
		result = prime * result
				+ ((drugCode == null) ? 0 : drugCode.hashCode());
		result = prime * result + ((drugId == null) ? 0 : drugId.hashCode());
		result = prime * result
				+ ((drugName == null) ? 0 : drugName.hashCode());
		result = prime * result + ((endDate == null) ? 0 : endDate.hashCode());
		result = prime * result + ((factor == null) ? 0 : factor.hashCode());
		result = prime * result
				+ ((formName == null) ? 0 : formName.hashCode());
		result = prime * result
				+ ((goodsCode == null) ? 0 : goodsCode.hashCode());
		result = prime * result
				+ ((goodsNum == null) ? 0 : goodsNum.hashCode());
		result = prime * result
				+ ((gradeDatetime == null) ? 0 : gradeDatetime.hashCode());
		result = prime * result
				+ ((gradeRemark == null) ? 0 : gradeRemark.hashCode());
		result = prime * result
				+ ((gradeScore == null) ? 0 : gradeScore.hashCode());
		result = prime * result
				+ ((gradeUser == null) ? 0 : gradeUser.hashCode());
		result = prime * result
				+ ((hospCode == null) ? 0 : hospCode.hashCode());
		result = prime * result
				+ ((hospName == null) ? 0 : hospName.hashCode());
		result = prime * result
				+ ((interflowDetail == null) ? 0 : interflowDetail.hashCode());
		result = prime * result
				+ ((interflowId == null) ? 0 : interflowId.hashCode());
		result = prime * result
				+ ((invoiceAmount == null) ? 0 : invoiceAmount.hashCode());
		result = prime * result
				+ ((invoiceDatetime == null) ? 0 : invoiceDatetime.hashCode());
		result = prime * result
				+ ((isLongtimePlan == null) ? 0 : isLongtimePlan.hashCode());
		result = prime * result
				+ ((isRecepted == null) ? 0 : isRecepted.hashCode());
		result = prime * result
				+ ((joinPlanTime == null) ? 0 : joinPlanTime.hashCode());
		result = prime * result
				+ ((joinPlanUser == null) ? 0 : joinPlanUser.hashCode());
		result = prime * result
				+ ((joinStatus == null) ? 0 : joinStatus.hashCode());
		result = prime * result + ((main == null) ? 0 : main.hashCode());
		result = prime * result
				+ ((materialName == null) ? 0 : materialName.hashCode());
		result = prime * result
				+ ((notRecpNum == null) ? 0 : notRecpNum.hashCode());
		result = prime * result
				+ ((orderBegTime == null) ? 0 : orderBegTime.hashCode());
		result = prime * result
				+ ((orderCode == null) ? 0 : orderCode.hashCode());
		result = prime
				* result
				+ ((orderConfEndTime == null) ? 0 : orderConfEndTime.hashCode());
		result = prime
				* result
				+ ((orderConfirmTime == null) ? 0 : orderConfirmTime.hashCode());
		result = prime
				* result
				+ ((orderConfirmTimeEnd == null) ? 0 : orderConfirmTimeEnd
						.hashCode());
		result = prime
				* result
				+ ((orderConfirmTimeStr == null) ? 0 : orderConfirmTimeStr
						.hashCode());
		result = prime * result
				+ ((orderDelEndTime == null) ? 0 : orderDelEndTime.hashCode());
		result = prime
				* result
				+ ((orderDetailInfoList == null) ? 0 : orderDetailInfoList
						.hashCode());
		result = prime
				* result
				+ ((orderEndDatetime == null) ? 0 : orderEndDatetime.hashCode());
		result = prime * result
				+ ((orderEndTime == null) ? 0 : orderEndTime.hashCode());
		result = prime * result + ((orderId == null) ? 0 : orderId.hashCode());
		result = prime * result
				+ ((orderPackId == null) ? 0 : orderPackId.hashCode());
		result = prime
				* result
				+ ((orderStartDatetime == null) ? 0 : orderStartDatetime
						.hashCode());
		result = prime * result
				+ ((orderStatus == null) ? 0 : orderStatus.hashCode());
		result = prime * result
				+ ((outEndDatetime == null) ? 0 : outEndDatetime.hashCode());
		result = prime
				* result
				+ ((outStartDatetime == null) ? 0 : outStartDatetime.hashCode());
		result = prime * result
				+ ((proCount == null) ? 0 : proCount.hashCode());
		result = prime * result
				+ ((proPrice == null) ? 0 : proPrice.hashCode());
		result = prime * result
				+ ((proPriceLimit == null) ? 0 : proPriceLimit.hashCode());
		result = prime * result + ((projId == null) ? 0 : projId.hashCode());
		result = prime * result
				+ ((projName == null) ? 0 : projName.hashCode());
		result = prime * result
				+ ((psEndDatetime == null) ? 0 : psEndDatetime.hashCode());
		result = prime * result
				+ ((psStartDatetime == null) ? 0 : psStartDatetime.hashCode());
		result = prime * result
				+ ((recpAddrId == null) ? 0 : recpAddrId.hashCode());
		result = prime * result
				+ ((recpCount == null) ? 0 : recpCount.hashCode());
		result = prime * result
				+ ((recpDatetime == null) ? 0 : recpDatetime.hashCode());
		result = prime * result
				+ ((recpEndDate == null) ? 0 : recpEndDate.hashCode());
		result = prime * result
				+ ((recpEndDatetime == null) ? 0 : recpEndDatetime.hashCode());
		result = prime * result + ((recpNum == null) ? 0 : recpNum.hashCode());
		result = prime * result
				+ ((recpPrice == null) ? 0 : recpPrice.hashCode());
		result = prime * result
				+ ((recpStartDate == null) ? 0 : recpStartDate.hashCode());
		result = prime
				* result
				+ ((recpStartDatetime == null) ? 0 : recpStartDatetime
						.hashCode());
		result = prime * result
				+ ((recpStatus == null) ? 0 : recpStatus.hashCode());
		result = prime * result
				+ ((recpUser == null) ? 0 : recpUser.hashCode());
		result = prime * result + ((remarks == null) ? 0 : remarks.hashCode());
		result = prime * result
				+ ((returnCount == null) ? 0 : returnCount.hashCode());
		result = prime * result
				+ ((specName == null) ? 0 : specName.hashCode());
		result = prime * result
				+ ((startDate == null) ? 0 : startDate.hashCode());
		result = prime * result
				+ ((storeUser == null) ? 0 : storeUser.hashCode());
		result = prime * result
				+ ((subStatus == null) ? 0 : subStatus.hashCode());
		result = prime * result
				+ ((submitDatetime == null) ? 0 : submitDatetime.hashCode());
		result = prime
				* result
				+ ((submitDatetimeEnd == null) ? 0 : submitDatetimeEnd
						.hashCode());
		result = prime
				* result
				+ ((submitDatetimeStr == null) ? 0 : submitDatetimeStr
						.hashCode());
		result = prime
				* result
				+ ((submitEndDatetime == null) ? 0 : submitEndDatetime
						.hashCode());
		result = prime
				* result
				+ ((submitStartDatetime == null) ? 0 : submitStartDatetime
						.hashCode());
		result = prime * result
				+ ((submitUser == null) ? 0 : submitUser.hashCode());
		result = prime * result
				+ ((totalAmount == null) ? 0 : totalAmount.hashCode());
		result = prime * result
				+ ((totalProPrice == null) ? 0 : totalProPrice.hashCode());
		result = prime * result + ((unit == null) ? 0 : unit.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		result = prime * result
				+ ((userName == null) ? 0 : userName.hashCode());
		result = prime * result
				+ ((withOrderId == null) ? 0 : withOrderId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PurOrderInfoForm other = (PurOrderInfoForm) obj;
		if (approveCode == null) {
			if (other.approveCode != null)
				return false;
		} else if (!approveCode.equals(other.approveCode))
			return false;
		if (archiveDate == null) {
			if (other.archiveDate != null)
				return false;
		} else if (!archiveDate.equals(other.archiveDate))
			return false;
		if (archiveType == null) {
			if (other.archiveType != null)
				return false;
		} else if (!archiveType.equals(other.archiveType))
			return false;
		if (bakDrugFlag == null) {
			if (other.bakDrugFlag != null)
				return false;
		} else if (!bakDrugFlag.equals(other.bakDrugFlag))
			return false;
		if (buyPrice == null) {
			if (other.buyPrice != null)
				return false;
		} else if (!buyPrice.equals(other.buyPrice))
			return false;
		if (compId == null) {
			if (other.compId != null)
				return false;
		} else if (!compId.equals(other.compId))
			return false;
		if (compName == null) {
			if (other.compName != null)
				return false;
		} else if (!compName.equals(other.compName))
			return false;
		if (confirmEndDatetime == null) {
			if (other.confirmEndDatetime != null)
				return false;
		} else if (!confirmEndDatetime.equals(other.confirmEndDatetime))
			return false;
		if (confirmStartDatetime == null) {
			if (other.confirmStartDatetime != null)
				return false;
		} else if (!confirmStartDatetime.equals(other.confirmStartDatetime))
			return false;
		if (confirmStatus == null) {
			if (other.confirmStatus != null)
				return false;
		} else if (!confirmStatus.equals(other.confirmStatus))
			return false;
		if (credential == null) {
			if (other.credential != null)
				return false;
		} else if (!credential.equals(other.credential))
			return false;
		if (delCompId == null) {
			if (other.delCompId != null)
				return false;
		} else if (!delCompId.equals(other.delCompId))
			return false;
		if (delCompName == null) {
			if (other.delCompName != null)
				return false;
		} else if (!delCompName.equals(other.delCompName))
			return false;
		if (delCount == null) {
			if (other.delCount != null)
				return false;
		} else if (!delCount.equals(other.delCount))
			return false;
		if (delDatetime == null) {
			if (other.delDatetime != null)
				return false;
		} else if (!delDatetime.equals(other.delDatetime))
			return false;
		if (delDatetimeEnd == null) {
			if (other.delDatetimeEnd != null)
				return false;
		} else if (!delDatetimeEnd.equals(other.delDatetimeEnd))
			return false;
		if (delDatetimeStr == null) {
			if (other.delDatetimeStr != null)
				return false;
		} else if (!delDatetimeStr.equals(other.delDatetimeStr))
			return false;
		if (delDetailId == null) {
			if (other.delDetailId != null)
				return false;
		} else if (!delDetailId.equals(other.delDetailId))
			return false;
		if (delNum == null) {
			if (other.delNum != null)
				return false;
		} else if (!delNum.equals(other.delNum))
			return false;
		if (delPrice == null) {
			if (other.delPrice != null)
				return false;
		} else if (!delPrice.equals(other.delPrice))
			return false;
		if (delStatus == null) {
			if (other.delStatus != null)
				return false;
		} else if (!delStatus.equals(other.delStatus))
			return false;
		if (drugCode == null) {
			if (other.drugCode != null)
				return false;
		} else if (!drugCode.equals(other.drugCode))
			return false;
		if (drugId == null) {
			if (other.drugId != null)
				return false;
		} else if (!drugId.equals(other.drugId))
			return false;
		if (drugName == null) {
			if (other.drugName != null)
				return false;
		} else if (!drugName.equals(other.drugName))
			return false;
		if (endDate == null) {
			if (other.endDate != null)
				return false;
		} else if (!endDate.equals(other.endDate))
			return false;
		if (factor == null) {
			if (other.factor != null)
				return false;
		} else if (!factor.equals(other.factor))
			return false;
		if (formName == null) {
			if (other.formName != null)
				return false;
		} else if (!formName.equals(other.formName))
			return false;
		if (goodsCode == null) {
			if (other.goodsCode != null)
				return false;
		} else if (!goodsCode.equals(other.goodsCode))
			return false;
		if (goodsNum == null) {
			if (other.goodsNum != null)
				return false;
		} else if (!goodsNum.equals(other.goodsNum))
			return false;
		if (gradeDatetime == null) {
			if (other.gradeDatetime != null)
				return false;
		} else if (!gradeDatetime.equals(other.gradeDatetime))
			return false;
		if (gradeRemark == null) {
			if (other.gradeRemark != null)
				return false;
		} else if (!gradeRemark.equals(other.gradeRemark))
			return false;
		if (gradeScore == null) {
			if (other.gradeScore != null)
				return false;
		} else if (!gradeScore.equals(other.gradeScore))
			return false;
		if (gradeUser == null) {
			if (other.gradeUser != null)
				return false;
		} else if (!gradeUser.equals(other.gradeUser))
			return false;
		if (hospCode == null) {
			if (other.hospCode != null)
				return false;
		} else if (!hospCode.equals(other.hospCode))
			return false;
		if (hospName == null) {
			if (other.hospName != null)
				return false;
		} else if (!hospName.equals(other.hospName))
			return false;
		if (interflowDetail == null) {
			if (other.interflowDetail != null)
				return false;
		} else if (!interflowDetail.equals(other.interflowDetail))
			return false;
		if (interflowId == null) {
			if (other.interflowId != null)
				return false;
		} else if (!interflowId.equals(other.interflowId))
			return false;
		if (invoiceAmount == null) {
			if (other.invoiceAmount != null)
				return false;
		} else if (!invoiceAmount.equals(other.invoiceAmount))
			return false;
		if (invoiceDatetime == null) {
			if (other.invoiceDatetime != null)
				return false;
		} else if (!invoiceDatetime.equals(other.invoiceDatetime))
			return false;
		if (isLongtimePlan == null) {
			if (other.isLongtimePlan != null)
				return false;
		} else if (!isLongtimePlan.equals(other.isLongtimePlan))
			return false;
		if (isRecepted == null) {
			if (other.isRecepted != null)
				return false;
		} else if (!isRecepted.equals(other.isRecepted))
			return false;
		if (joinPlanTime == null) {
			if (other.joinPlanTime != null)
				return false;
		} else if (!joinPlanTime.equals(other.joinPlanTime))
			return false;
		if (joinPlanUser == null) {
			if (other.joinPlanUser != null)
				return false;
		} else if (!joinPlanUser.equals(other.joinPlanUser))
			return false;
		if (joinStatus == null) {
			if (other.joinStatus != null)
				return false;
		} else if (!joinStatus.equals(other.joinStatus))
			return false;
		if (main == null) {
			if (other.main != null)
				return false;
		} else if (!main.equals(other.main))
			return false;
		if (materialName == null) {
			if (other.materialName != null)
				return false;
		} else if (!materialName.equals(other.materialName))
			return false;
		if (notRecpNum == null) {
			if (other.notRecpNum != null)
				return false;
		} else if (!notRecpNum.equals(other.notRecpNum))
			return false;
		if (orderBegTime == null) {
			if (other.orderBegTime != null)
				return false;
		} else if (!orderBegTime.equals(other.orderBegTime))
			return false;
		if (orderCode == null) {
			if (other.orderCode != null)
				return false;
		} else if (!orderCode.equals(other.orderCode))
			return false;
		if (orderConfEndTime == null) {
			if (other.orderConfEndTime != null)
				return false;
		} else if (!orderConfEndTime.equals(other.orderConfEndTime))
			return false;
		if (orderConfirmTime == null) {
			if (other.orderConfirmTime != null)
				return false;
		} else if (!orderConfirmTime.equals(other.orderConfirmTime))
			return false;
		if (orderConfirmTimeEnd == null) {
			if (other.orderConfirmTimeEnd != null)
				return false;
		} else if (!orderConfirmTimeEnd.equals(other.orderConfirmTimeEnd))
			return false;
		if (orderConfirmTimeStr == null) {
			if (other.orderConfirmTimeStr != null)
				return false;
		} else if (!orderConfirmTimeStr.equals(other.orderConfirmTimeStr))
			return false;
		if (orderDelEndTime == null) {
			if (other.orderDelEndTime != null)
				return false;
		} else if (!orderDelEndTime.equals(other.orderDelEndTime))
			return false;
		if (orderDetailInfoList == null) {
			if (other.orderDetailInfoList != null)
				return false;
		} else if (!orderDetailInfoList.equals(other.orderDetailInfoList))
			return false;
		if (orderEndDatetime == null) {
			if (other.orderEndDatetime != null)
				return false;
		} else if (!orderEndDatetime.equals(other.orderEndDatetime))
			return false;
		if (orderEndTime == null) {
			if (other.orderEndTime != null)
				return false;
		} else if (!orderEndTime.equals(other.orderEndTime))
			return false;
		if (orderId == null) {
			if (other.orderId != null)
				return false;
		} else if (!orderId.equals(other.orderId))
			return false;
		if (orderPackId == null) {
			if (other.orderPackId != null)
				return false;
		} else if (!orderPackId.equals(other.orderPackId))
			return false;
		if (orderStartDatetime == null) {
			if (other.orderStartDatetime != null)
				return false;
		} else if (!orderStartDatetime.equals(other.orderStartDatetime))
			return false;
		if (orderStatus == null) {
			if (other.orderStatus != null)
				return false;
		} else if (!orderStatus.equals(other.orderStatus))
			return false;
		if (outEndDatetime == null) {
			if (other.outEndDatetime != null)
				return false;
		} else if (!outEndDatetime.equals(other.outEndDatetime))
			return false;
		if (outStartDatetime == null) {
			if (other.outStartDatetime != null)
				return false;
		} else if (!outStartDatetime.equals(other.outStartDatetime))
			return false;
		if (proCount == null) {
			if (other.proCount != null)
				return false;
		} else if (!proCount.equals(other.proCount))
			return false;
		if (proPrice == null) {
			if (other.proPrice != null)
				return false;
		} else if (!proPrice.equals(other.proPrice))
			return false;
		if (proPriceLimit == null) {
			if (other.proPriceLimit != null)
				return false;
		} else if (!proPriceLimit.equals(other.proPriceLimit))
			return false;
		if (projId == null) {
			if (other.projId != null)
				return false;
		} else if (!projId.equals(other.projId))
			return false;
		if (projName == null) {
			if (other.projName != null)
				return false;
		} else if (!projName.equals(other.projName))
			return false;
		if (psEndDatetime == null) {
			if (other.psEndDatetime != null)
				return false;
		} else if (!psEndDatetime.equals(other.psEndDatetime))
			return false;
		if (psStartDatetime == null) {
			if (other.psStartDatetime != null)
				return false;
		} else if (!psStartDatetime.equals(other.psStartDatetime))
			return false;
		if (recpAddrId == null) {
			if (other.recpAddrId != null)
				return false;
		} else if (!recpAddrId.equals(other.recpAddrId))
			return false;
		if (recpCount == null) {
			if (other.recpCount != null)
				return false;
		} else if (!recpCount.equals(other.recpCount))
			return false;
		if (recpDatetime == null) {
			if (other.recpDatetime != null)
				return false;
		} else if (!recpDatetime.equals(other.recpDatetime))
			return false;
		if (recpEndDate == null) {
			if (other.recpEndDate != null)
				return false;
		} else if (!recpEndDate.equals(other.recpEndDate))
			return false;
		if (recpEndDatetime == null) {
			if (other.recpEndDatetime != null)
				return false;
		} else if (!recpEndDatetime.equals(other.recpEndDatetime))
			return false;
		if (recpNum == null) {
			if (other.recpNum != null)
				return false;
		} else if (!recpNum.equals(other.recpNum))
			return false;
		if (recpPrice == null) {
			if (other.recpPrice != null)
				return false;
		} else if (!recpPrice.equals(other.recpPrice))
			return false;
		if (recpStartDate == null) {
			if (other.recpStartDate != null)
				return false;
		} else if (!recpStartDate.equals(other.recpStartDate))
			return false;
		if (recpStartDatetime == null) {
			if (other.recpStartDatetime != null)
				return false;
		} else if (!recpStartDatetime.equals(other.recpStartDatetime))
			return false;
		if (recpStatus == null) {
			if (other.recpStatus != null)
				return false;
		} else if (!recpStatus.equals(other.recpStatus))
			return false;
		if (recpUser == null) {
			if (other.recpUser != null)
				return false;
		} else if (!recpUser.equals(other.recpUser))
			return false;
		if (remarks == null) {
			if (other.remarks != null)
				return false;
		} else if (!remarks.equals(other.remarks))
			return false;
		if (returnCount == null) {
			if (other.returnCount != null)
				return false;
		} else if (!returnCount.equals(other.returnCount))
			return false;
		if (specName == null) {
			if (other.specName != null)
				return false;
		} else if (!specName.equals(other.specName))
			return false;
		if (startDate == null) {
			if (other.startDate != null)
				return false;
		} else if (!startDate.equals(other.startDate))
			return false;
		if (storeUser == null) {
			if (other.storeUser != null)
				return false;
		} else if (!storeUser.equals(other.storeUser))
			return false;
		if (subStatus == null) {
			if (other.subStatus != null)
				return false;
		} else if (!subStatus.equals(other.subStatus))
			return false;
		if (submitDatetime == null) {
			if (other.submitDatetime != null)
				return false;
		} else if (!submitDatetime.equals(other.submitDatetime))
			return false;
		if (submitDatetimeEnd == null) {
			if (other.submitDatetimeEnd != null)
				return false;
		} else if (!submitDatetimeEnd.equals(other.submitDatetimeEnd))
			return false;
		if (submitDatetimeStr == null) {
			if (other.submitDatetimeStr != null)
				return false;
		} else if (!submitDatetimeStr.equals(other.submitDatetimeStr))
			return false;
		if (submitEndDatetime == null) {
			if (other.submitEndDatetime != null)
				return false;
		} else if (!submitEndDatetime.equals(other.submitEndDatetime))
			return false;
		if (submitStartDatetime == null) {
			if (other.submitStartDatetime != null)
				return false;
		} else if (!submitStartDatetime.equals(other.submitStartDatetime))
			return false;
		if (submitUser == null) {
			if (other.submitUser != null)
				return false;
		} else if (!submitUser.equals(other.submitUser))
			return false;
		if (totalAmount == null) {
			if (other.totalAmount != null)
				return false;
		} else if (!totalAmount.equals(other.totalAmount))
			return false;
		if (totalProPrice == null) {
			if (other.totalProPrice != null)
				return false;
		} else if (!totalProPrice.equals(other.totalProPrice))
			return false;
		if (unit == null) {
			if (other.unit != null)
				return false;
		} else if (!unit.equals(other.unit))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		if (userName == null) {
			if (other.userName != null)
				return false;
		} else if (!userName.equals(other.userName))
			return false;
		if (withOrderId == null) {
			if (other.withOrderId != null)
				return false;
		} else if (!withOrderId.equals(other.withOrderId))
			return false;
		return true;
	}
	
	
}